package org.example.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/hello")
public class HelloController {

    @GetMapping("/world")
    public ResponseEntity<String> world() {
        return ResponseEntity.ok("Hello World");
    }
}
